package com.hopu.v1.mapper.admin.question;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hopu.v1.pojo.question.QuestionsBanks;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * @author YwaiX
 * @description 针对表【t_questions_banks(题库表，存储题库相关信息)】的数据库操作Mapper
 * @createDate 2024-09-26 15:20:06
 * @Entity com.hopu.v1.pojo.question.QuestionsBanks
 */
public interface QuestionsBanksMapper extends BaseMapper<QuestionsBanks> {
    
    /**
     * 获取题库列表
     *
     * @param sid
     * @return
     */
    List<QuestionsBanks> getQuestionBankList(@Param("page") Integer page, @Param("size") Integer size, @Param("sid") Integer sid,@Param("name") String name,@Param("status")Integer status);
    
    /**
     * 获取总数据量
     * @param sid
     * @return
     */
    Integer count(@Param("sid") Integer sid,@Param("name") String name,@Param("status")Integer status);
}




